﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{
    [Table("Zuo")]
    public class Zuo
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime Kai { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime Jie { get; set; }
        /// <summary>
        /// 个人邮箱
        /// </summary>
        public string Mailbox { get; set; }
    }
}
